package com.ny.dao;

import com.ny.entity.Order;
import java.sql.SQLException;
import java.util.List;

public interface OrderDao {
    int insertOrder(Order order) throws SQLException;
    Order selectOrderById(int orderId) throws SQLException;
    List<Order> selectOrdersByStudentId(int studentId) throws SQLException;
    int deleteOrder(int orderId) throws SQLException;
}